home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 47.7z
/
BS1 part 47
/
ImageMaster RT v1.50b (1994)(Black Belt Systems)(Disk 4 of 7)[HD].7z
/
ImageMaster RT v1.50b (1994)(Black Belt Systems)(Disk 4 of 7)[HD].adf
/
apa.lzh.parta
/
hlp_arexx12
< prev
next >
Wrap
Text File
|
1994-03-16
|
8KB
|
349 lines
\ApAssist
\: - This is the Quick Help for the ARexx in IM R/t -
\: ----------------------------------------------------------
\: Written by David E. Patterson
\: ----------------------------------------------------------
\font topaz.font 8
\tc 1
\wr
\lj
\dd "imh_descriptor"
\index "hlp_arexx2/unlockall-zigzag"
\toc "imh_toc/toc"
\help "aa_help/help
\node "warp"
\title "Warp"
\next "watercolor"
\prev ""
\{ \tc 15 Warp \} - Warps the selected region, the secondary buffer controls
the warp.
\nw
Usage - '\{ \tc 15 warp <effect%>\} ';
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 warp 60\} ';
* User Interface: \{ \tc 15 Process Panel
Compose Panel
Primary Buffer Surface Warping\}
\endnode
\node "watercolor"
\title "Watercolor"
\next "wbtofront"
\prev "warp"
\{ \tc 15 Watercolor \} - Creates a Watercolor effect in the selected area.
\nw
Usage - '\{ \tc 15 watercolor <%amount>\} ';
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 watercolor 60\} ';
* User Interface: \{ \tc 15 Process Panel
Special F/x
Watercolor\}
\endnode
\node "wbtofront"
\title "Work Bench to Front"
\next "wheremouse"
\prev "watercolor"
\{ \tc 15 Wbtofront \} - Brings the Work Bench to the front.
\nw
Usage - '\{ \tc 15 wbtofront\} '
\{ \ts bu Sample Script\} :
'\{ \tc 15 wbtofront\} ';
'contrast 90';
'imtofront';
\endnode
\node "wheremouse"
\title "Where Mouse"
\next "white"
\prev "wbtofront"
\{ \tc 15 Wheremouse \} - Returns the mouse's current co-ordinates.
\nw
Usage - '\{ \tc 15 wheremouse\} '
\{ \ts bu Sample Script\} :
options results;
'\{ \tc 15 wheremouse\} ';
info = result;
parse var info x','y;
'message Mouse X: ' x 'Y: 'y;
options;
\endnode
\node "white"
\title "Whiten"
\next "wide"
\prev "wheremouse"
\{ \tc 15 Whiten \} - Makes the primary buffer image all white.
\nw
Usage - '\{ \tc 15 whiten\} '
\{ \ts bu Sample Script\} :
'\{ \tc 15 whiten\} ';
\endnode
\node "wide"
\title "Wide"
\next "xhot"
\prev "white"
\{ \tc 15 Wide \} - Applies a sharpening convolution.
Applies a 5X5 sharpening convolution to a selected region.
\nw
Usage - '\{ \tc 15 wide <effect>\} ';
\{ \tc 15 Effect: 0 to 100\}
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 wide 80\} ';
* User Interface: \{ \tc 15 Process Panel
Filters
Sharpen II\}
\endnode
\node "xhot"
\title "X-Hot"
\next "xor"
\prev "wide"
\{ \tc 15 Xhot \} - The xhot command is used to set the X value for the
center of a radial fill. This command can be used in conjunction with the
yhot command to reposition the center of a radial fill.
\nw
Usage - '\{ \tc 15 xhot <value>\} '
\{ \ts b value\} : This is a value ranging from 0 to 32. This numeric value
represents 32nds of distance along the diameter of the selected region. A
setting of 0 would place the X center at the left hand edge, a setting of 32
will place the X center on the right hand edge, and a setting of 16 will
place the X center in the center of the area select.
\{ \ts bu Sample Script\} :
/* arexx xhot Example */
address('IM_Port');
'fillmode radial';
'\{ \tc 15 xhot 25\} ';
'yhot 16';
'area';
'areafill';
'finish';
* User Interface: \{ \tc 15 Paint Panel
Fill Mode
X Hot\}
\endnode
\node "xor"
\title "XOR"
\next "yhot"
\prev "xhot"
\{ \tc 15 Xor \} - Performs an XOR of the primary buffer and the secondary
buffer.
\nw
Usage - '\{ \tc 15 xor\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 xor\} ';
* User Interface: \{ \tc 15 Compose Panel
Logical Compostions
Exclusive OR\}
\endnode
\node "yhot"
\title "Y-Hot"
\next "zigzag"
\prev "xor"
\{ \tc 15 Yhot \} - The yhot command is used to set the Y value for the
center of a radial fill. This command can be used in conjunction with the
xhot command to reposition the center of a radial fill.
\nw
Usage - '\{ \tc 15 yhot <value>\} '
\{ \ts b value\} : This is a value ranging from 0 to 32. This numeric value
represents 32nds of distance along the diameter of the selected region. A
setting of 0 would place the Y center at the top edge, a setting of 32 will
place the Y center on the bottom edge, and a setting of 16 will place the Y
center in the center of the area select.
\{ \ts bu Sample Script\} :
/* arexx yhot Example */
address('IM_Port');
'fillmode radial';
'xhot 25';
'\{ \tc 15 yhot 16\} ';
'area';
'areafill';
'finish';
* User Interface: \{ \tc 15 Paint Panel
Fill Mode
X Hot\}
\endnode
\node "zigzag"
\title "Zig Zag"
\next "zoom2"
\prev "yhot"
\{ \tc 15 Zigzag \} - Creates a Zig Zag distortion.
\nw
Usage - '\{ \tc 15 zigzag <average_length>\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 zigzag 90\} ';
* User Interface: \{ \tc 15 Process Panel
Geometric Transformations
Zig Zag\}
\endnode
\node "zoom2"
\title "Zoom2"
\next "zoomclip"
\prev "zigzag"
\{ \tc 15 Zoom2 \} - Doubles the selected region and clips it to a new
buffer.
\nw
Usage - '\{ tc 15 zoom2 [newname]\} ';
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 zoom2 testbuff\} ';
See Also: \{ \ts b \link "clip " "imdoc:hlp_arexx5/clip"
\link "clip2" "imdoc:hlp_arexx5/clip2"\}
\endnode
\node "zoomclip"
\title "Zoomclip"
\next "zoomhalf"
\prev "zoom2"
\{ \tc 15 Zoomclip \} - Allows you to zoom an image a certain percantage.
The intension of this command is to allow zooms within animations sequences to
be generated in a natural way. There are parameters to specify the percentage
of the zoom and the output resolution. It is important to remember that the
output resolution will default to the resolution of the \{ \ts i current \}
primary image, if a new resolution is not specified.
\nw
Usage - \{ \tc 15 <x%> <y%> <x center> <y center> [clip name] [width] [height]\} '
\wr
\{ \ts b x%: \} This allows you to specify the percentage of increase in the
width of the clipped region.
\{ \ts b y%: \} This allows you to specify the percentage of increase in the
height of the clipped region.
\{ \ts b x center: \} This parameter will set the x position for the center
of the clipped region.
\{ \ts b y center: \} This parameter will set the y position for the center
of the clipped region.
\{ \ts b clip name: \} This is an optional parameter for specifying the name
of the clipped region's buffer. If this parameter is not specified,
Imagemaster will assign a name to the buffer.
\{ \ts b width: \} This optional parameter will specify the new buffer's
width. If this value is set, it will over-ride any value set for the x%
parameter.
\{ \ts b height: \} This optional parameter will specify the new buffer's
height. If this value is set, it will over-ride any value set for the y%
parameter.
\{ \ts bu Sample Script\} :
/* Sample Zoom Clip ARexx Script */
options results;
'askprop "X Zoom: " 200 100 2000';
xz = result;
'askprop "Y Zoom: " 200 100 2000';
xy = result;
'askprop "X Center: " 0 300 1000';
xcen = result;
'askprop "Y Center: " 0 300 1000';
ycen = result;
'askstring "Clip Name:" "clip"'new;
new = result;
'askprop "Buffer Width: " 320 200 640';
wid = result;
'askprop "Buffer Height: " 200 100 400';
hei = result;
options
'zoomclip ' xz yz xcen ycen new wid hei;
* User Interface: \{ \tc 15 Process Panel
Clipping
Zoom Clip\}
\endnode
\node "zoomhalf"
\title "Zoomhalf"
\next ""
\prev "zoomclip"
\{ \tc 15 Zoomhalf \} - Clips selected region to a buffer half it's size.
\nw
Usage - '\{ \tc 15 zoomhalf [newname]\} '
\{ \ts bu Sample Script\} :
'area';
'\{ \tc 15 zoomhalf testbuff\} ';
See Also: \{ \ts b \link "cliphalf" "imdoc:hlp_arexx5/cliphalf"\}
* User Interface: \{ \tc 15 Process Panel
Re-Sizing and Clipping
Clip .5 X\}
\endnode